projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f332506
)
gtknotebook: Avoid drawing artifacts with action widgets and long tab labels (bgo...
author
Johannes Schmid
<jhs@gnome.org>
Tue, 1 Dec 2009 19:05:09 +0000
(20:05 +0100)
committer
Johannes Schmid
<jhs@gnome.org>
Wed, 2 Dec 2009 08:36:53 +0000
(09:36 +0100)
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index b51388cca443fda5007b4f50604bfd2d565c7c02..466ff204551e6cfd7812b3b92c8c15f28556db74 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-5276,7
+5276,7
@@
gtk_notebook_calculate_shown_tabs (GtkNotebook *notebook,
remaining_space, STEP_NEXT);
}
- if (tab_space <= 0 || *remaining_space < 0)
+ if (tab_space <= 0 || *remaining_space <
=
0)
{
/* show 1 tab */
notebook->first_tab = notebook->focus_tab;